<?php if (!defined('THINK_PATH')) exit();?><!-- 头部 -->
<!DOCTYPE html>
 <html lang="zh-CN">
<head>

<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>【家教网_<?php echo ($city); ?>老师上门】- 专业名师1对1家教辅导领先品牌</title>
<meta name="Keywords" content="老师上门,<?php echo ($city); ?>家教,一对一家教,一对一辅导" />
<meta name="Description" content="老师上门为您推荐<?php echo ($city); ?>家教优秀老师,线上预约,线下辅导。1对1家教上门,涵盖中小学各科以及艺术兴趣类优秀师资,有效提升高效学习,满意率超98%,为需要辅导的学员提供专业满意的服务" />
<meta name="author" content="laoshism.com">

<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<link href="/lssm/Public/home/css/sishudiy.css" rel="stylesheet" type="text/css" media="all"/>
<link href="/lssm/Public/home/css/header2_9.css" rel="stylesheet" type="text/css" media="all"/>

<link href="/lssm/Public/css/layui.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="/lssm/Public/layui.js"></script>

<script type="text/javascript" src="/lssm/Public/home/js/jquery.min.js"></script>

<!-- <script type="text/javascript" src="/lssm/Public/home/js/sishu_parent_common.js"></script> -->
<script async type="text/javascript" src='/lssm/Public/home/js/indexadd.js'></script>

<script type="text/javascript">
function goPAGE() {
    if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
        window.location.href="http://www.laoshism.com/mobile";}
}
goPAGE();

</script>

</head>
<body id="sishugogo" style="background-color: #f8f8f8;">
<!--header-->
<header>

<div class="site_nav">
<div class="site_nav_lr">

<ul class="site_nav_l">
<li><a href="<?php echo U('index/index',array('newcity'=>$city));?>" target="_self">老师上门首页</a></li>
<li>|</li>
<li><a href="javascript:;" target="_self" id="addSiteFavorite">加入收藏</a></li>
</ul>
<!-- login start-->
<?php if (isset($_SESSION['phone']) && $_SESSION['is_who'] == 'laoshi') { ?>
	<ul class="site_nav_r">
	<li><a href="<?php echo U('laoshi/laoshi_core',array('newcity'=>$city));?>" title="我的课程" target="_self">我的课程</a></li>
	<li>|</li>
	<li><a href="<?php echo U('info/laoshi_info',array('id'=>$_SESSION['id'],'newcity'=>$city));?>" title="个人中心" target="_self">个人中心</a></li>
	<li>|</li>
	<li><a href="<?php echo U('laoshi/zlrz',array('newcity'=>$city));?>" title="资料设置" target="_self">资料设置</a></li>
	<li>|</li>
	<li><a href="<?php echo U('user/logout');?>" title="退出" target="_self">退出</a></li>
	</ul>
<?php }elseif (isset($_SESSION['phone']) && $_SESSION['is_who'] == 'jiazhang') { ?>
	<ul class="site_nav_r">
	<li><a href="<?php echo U('jiazhang/index',array('newcity'=>$city));?>" title="学员中心" target="_self">学员中心</a></li>
	<li>|</li>
	<li><a href="<?php echo U('jiazhang/jiazhang_one',array('newcity'=>$city));?>" title="资料设置" target="_self">资料设置</a></li>
	<li>|</li>
	<li><a href="<?php echo U('user/logout');?>" title="学员中心" target="_self">退出</a></li>
	</ul>
<?php }else { ?>
	<ul class="site_nav_r">
	<li><a href="<?php echo U('user/login',array('newcity'=>$city));?>" title="登录" target="_self">请登录</a></li>
	<li>|</li>
	<li class="signup" id="to_lsjz"><a title="免费注册" href="javascript:;">免费注册</a></li>
	<div id="lsjz" style="width: 200px;height: 120px;background: #fff;position: absolute;top: 30px;display: none;z-index: 1000;box-shadow:3px 3px 3px;">
		<div style="width: 100px;height: 120px;background: #fff;float: left;text-align: center;border-right: 1px solid #f1ebeb;">
			<p style="padding-top: 20px;padding-bottom: 10px;color:#222">我是学员</p>
			<p style="width: 80px;background: #30C76C;border-radius: 8px;margin-left: 10px;"><a href="<?php echo U('user/jz_zhuce',array('newcity'=>$city));?>" style="color:#fff">学员注册</a></p>
		</div>
		<div style="width: 100px;height: 100px;background: #fff;float: left;text-align: center;">
			<p style="padding-top: 20px;padding-bottom: 10px;color:#222">我是老师</p>
			<p style="width: 80px;background: #30C76C;border-radius: 8px;margin-left: 10px;"><a href="<?php echo U('user/ls_zhuce',array('newcity'=>$city));?>" style="color:#fff">老师注册</a></p>
		</div>
	</div>
	</ul>
<?php } ?>
<script type="text/javascript">
	$(function(){
		//alert(1111);toggle hover
		$('#to_lsjz').click(
			function(event) {
			$('#lsjz').toggle();
			}
		);
	})
</script>

</div>

</div>

<div class="headCenter">

<div class="header clear-fx">

<div class="logolay poS">

<a href="<?php echo U('index/index',array('newcity'=>$city));?>" title="老师上门官网" id="logomask" target="_self">

<img src="/lssm/Public/home/images/logo2_9.png" width="210" height="53" alt="老师上门logo" />

</a>

<span id="city_info" >

<div class="hls_gps"><label id="getCity"><?php echo ($city); ?></label>

<span id="chancity">切换城市</span></div>

<div class="showcy" id="showCity">

<ul>
    <?php foreach ($city_info as $c) { ?>
    	<li>
    		<a href="<?php echo U('index/index',array('newcity'=>$c['city_name']));?>" target="_self"><?php echo ($c["city_name"]); ?></a>
    	</li> 
    <?php } ?>          
</ul>

<div class="clear"></div>

<p>更多城市即将开放，敬请期待！</p>

</div>

</span>

</div>
<form action="<?php echo U('classes/index',array('newcity'=>$city));?>" method="post">
	<div class="hls_find">
		<input type="text" name="keyword" placeholder="输入老师姓名或老师ID号" id="find-inp" autocomplete="off" type="text" class="searchinput"/>
		<!-- <span href="javascript:void(0);" class="hls_sou" id="zoomG" onclick="toHlsSou();">搜索</span> -->
		<button class="hls_sou" style="border: 0;">搜索</button>
	</div>
</form>
<ul class="hls_stern">
	<li style="width: 225px;height: 46px;margin-top: 24px;"><img src="/lssm/Public/home/images/tel.png" alt=""></li>
</ul>

<div class="clear"></div>

</div>

</div>

<div class="mian_nav">
    <div class="mycenter">
        <h2 class="navDown">
            全部课程导航
        </h2>
        <ul id="sub_nav" class="sub_nav">
            <li style="height:167px;border-bottom: 1px solid #e2e1e1;">
                <div class="nav_all">
                    <span class="hls_grade" style="font-size: 16px;">文化语言</span>
                    <span class="hls_subjects" style="white-space: normal;padding-top: 20px;width: 169px;padding-left: 29px;">
                    <?php foreach ($wenhua as $gk) { ?>
                        <a href="<?php echo U('classes/index',array('newcity'=>$city,'wh'=>文化语言,'grade'=>$gk['grade_name']));?>"><?php echo ($gk["grade_name"]); ?></a>
                    <?php } ?>
                    </span>
                </div>
                <dl class="senior_high" style="width: 550px;">
                    <dd>
                        <span style="width: 45px;">高中&nbsp;&nbsp; |</span>
                        <?php foreach ($gaoyi as $gy) { ?>
                            <a title="<?php echo ($gy["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>文化语言,'newcity'=>$city,'grade'=>高中,'subject'=>$gy['grade_name']));?>"><?php echo ($gy["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <dd>
                        <span style="width: 45px;">初中&nbsp;&nbsp; |</span>
                        <?php foreach ($chuyi as $cy) { ?>
                            <a title="<?php echo ($cy["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>文化语言,'newcity'=>$city,'grade'=>初中,'subject'=>$cy['grade_name']));?>"><?php echo ($cy["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <dd>
                        <span style="width: 45px;">小学&nbsp;&nbsp; |</span>
                        <?php foreach ($xiaoyi as $xy) { ?>
                            <a title="<?php echo ($xy["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>文化语言,'newcity'=>$city,'grade'=>小学,'subject'=>$xy['grade_name']));?>"><?php echo ($xy["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <dd>
                        <span style="width: 45px;">语言&nbsp;&nbsp; |</span>
                        <?php foreach ($lxyy as $lx) { ?>
                            <a title="<?php echo ($lx["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>文化语言,'newcity'=>$city,'grade'=>语言,'subject'=>$lx['grade_name']));?>"><?php echo ($lx["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <div class="clear"></div>
                </dl>
            </li>
            <li style="height:205px;">
                <div class="nav_all" style="background: #F1F1F1;">
                    <span class="hls_grade" style="font-size: 16px;">艺术兴趣</span>
                    <span class="hls_subjects" style="white-space: normal;padding-top: 20px;width: 169px;padding-left: 29px;">
                    <?php foreach ($yishu as $gk) { ?>
                        <a style="display: inline-block;height: 32px;" href="<?php echo U('classes/index',array('newcity'=>$city,'wh'=>艺术兴趣,'grade'=>$gk['grade_name']));?>"><?php echo ($gk["grade_name"]); ?></a>
                    <?php } ?>
                    </span>
                </div>
                <dl class="senior_high" style="width: 750px;top:100px;">
                    <dd>
                        <span style="width: 45px;">乐器&nbsp;&nbsp; |</span>
                        <?php foreach ($yueqi as $ys) { ?>
                            <a title="<?php echo ($ys["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>艺术兴趣,'newcity'=>$city,'grade'=>乐器,'subject'=>$ys['grade_name']));?>"><?php echo ($ys["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <dd>
                        <span style="width: 45px;">声乐&nbsp;&nbsp; |</span>
                        <?php foreach ($shengyue as $ys) { ?>
                            <a title="<?php echo ($ys["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>艺术兴趣,'newcity'=>$city,'grade'=>声乐,'subject'=>$ys['grade_name']));?>"><?php echo ($ys["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <dd>
                        <span style="width: 45px;">舞蹈&nbsp;&nbsp; |</span>
                        <?php foreach ($wudao as $ys) { ?>
                            <a title="<?php echo ($ys["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>艺术兴趣,'newcity'=>$city,'grade'=>舞蹈,'subject'=>$ys['grade_name']));?>"><?php echo ($ys["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <dd>
                        <span style="width: 45px;">书法&nbsp;&nbsp; |</span>
                        <?php foreach ($shufa as $ys) { ?>
                            <a title="<?php echo ($ys["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>艺术兴趣,'newcity'=>$city,'grade'=>书法,'subject'=>$ys['grade_name']));?>"><?php echo ($ys["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <dd>
                        <span style="width: 45px;">绘画&nbsp;&nbsp; |</span>
                        <?php foreach ($huihua as $ys) { ?>
                            <a title="<?php echo ($ys["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>艺术兴趣,'newcity'=>$city,'grade'=>绘画,'subject'=>$ys['grade_name']));?>"><?php echo ($ys["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <dd>
                        <span style="width: 45px;">媒体&nbsp;&nbsp; |</span>
                        <?php foreach ($meiti as $ys) { ?>
                            <a title="<?php echo ($ys["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>艺术兴趣,'newcity'=>$city,'grade'=>媒体艺术,'subject'=>$ys['grade_name']));?>"><?php echo ($ys["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <dd>
                        <span style="width: 45px;">雕塑&nbsp;&nbsp; |</span>
                        <?php foreach ($diaoshu as $ys) { ?>
                            <a title="<?php echo ($ys["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>艺术兴趣,'newcity'=>$city,'grade'=>雕塑,'subject'=>$ys['grade_name']));?>"><?php echo ($ys["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <dd>
                        <span style="width: 45px;">鉴赏&nbsp;&nbsp; |</span>
                        <?php foreach ($jianshang as $ys) { ?>
                            <a title="<?php echo ($ys["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>艺术兴趣,'newcity'=>$city,'grade'=>鉴赏,'subject'=>$ys['grade_name']));?>"><?php echo ($ys["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <dd>
                        <span style="width: 45px;">戏剧&nbsp;&nbsp; |</span>
                        <?php foreach ($xiju as $ys) { ?>
                            <a title="<?php echo ($ys["grade_name"]); ?>" href="<?php echo U('classes/index',array('wh'=>艺术兴趣,'newcity'=>$city,'grade'=>戏剧,'subject'=>$ys['grade_name']));?>"><?php echo ($ys["grade_name"]); ?></a>
                        <?php } ?>
                    </dd>
                    <div class="clear"></div>
                </dl>
            </li>
        </ul>
        <div class="nav_box" style="padding-left:0px;">
            <ul>
                <li class="home"><a href="<?php echo U('index/index',array('newcity'=>$city));?>" target="_self">首页</a></li>
                <li><a href="<?php echo U('index/jiazhang_zn',array('newcity'=>$city));?>" target="_self">学员指南</a></li>
                <li><a href="<?php echo U('index/laoshi_zn',array('newcity'=>$city));?>" target="_self">老师指南</a></li>
                <li><a href="<?php echo U('index/about',array('newcity'=>$city));?>" target="_self">关于平台</a></li>
            </ul>
            <div class="nav-line" style="left:92px;width:64px;"></div>
        </div>
        <div class="hls_slogan" id="hls_slogan"></div>
    </div>
</div>
</header>
<!-- homePage -->
<main role="main">
    <div class="container">
        <div class="hlsIn">
            <div class="Banner-and-Notice f">
                <div class="somebanners" id="playbanner" role="banner">
                    <a href="javascript:;">
                        <img src="/lssm/Public/home/images/sy01.jpg" class="slidesjs-slide"
                        title="" width="740" height="360" />
                    </a>
                    <a href="javascript:;">
                        <img src="/lssm/Public/home/images/sy02.jpg" class="slidesjs-slide"
                        title="" width="740" height="360" />
                    </a>
                </div>
                <div class="rB">
                    <div class="noticeLayout" style="border: 1px solid #D1D2D1;margin-bottom: 5px;">
                        <h3 style="text-align: center;">
                            Hi,欢迎来到老师上门！
                        </h3>

                    <?php if (isset($_SESSION['phone']) && $_SESSION['is_who'] == 'laoshi') { ?>
                        <span class="btn big"><a href="<?php echo U('laoshi/laoshi_core',array('newcity'=>$city));?>" title="老师中心" target="_self">老师中心</a></span>
                        <span class="btn big"><a href="<?php echo U('laoshi/zlrz',array('newcity'=>$city));?>" title="资料设置" target="_self">资料设置</a></span>
                    <?php }elseif (isset($_SESSION['phone']) && $_SESSION['is_who'] == 'jiazhang') { ?>
                        <span class="btn big"><a href="<?php echo U('jiazhang/index',array('newcity'=>$city));?>" title="会员中心" target="_self">会员中心</a></span>
                        <span class="btn big"><a href="<?php echo U('jiazhang/jiazhang_one',array('newcity'=>$city));?>" title="资料设置" target="_self">资料设置</a></span>
                    <?php }else { ?>
                        <a href="<?php echo U('user/login',array('newcity'=>$city));?>" class="btn">
                            用户登录
                        </a>
                        <div class="inline">
                            <a href="<?php echo U('user/jz_zhuce',array('newcity'=>$city));?>" target="_self" class="btn">
                                学员注册
                            </a>
                            <a href="<?php echo U('user/ls_zhuce',array('newcity'=>$city));?>" target="_self" class="btn">
                                老师注册
                            </a>
                        </div>
                    <?php } ?>

                    </div>

                    <form action="<?php echo U('jiazhang/zhao_laoshi',array('newcity'=>$city));?>" method="post">
                        <div class="teacherAssigned">
                            <!-- <h3 style="font-weight: bold; font-size:18px;">快速请名师</h3> -->
                            <div class="conditions">
                                <!-- <span class="select_like" id="select_grade" style="border: 1px solid rgb(153, 153, 153); color: rgb(51, 51, 51);">请选择年级</span> -->
                                <select class="select_like"  onChange="var jmpURL=this.options[this.selectedIndex].value ;if(jmpURL!='') {window.location=jmpURL; }else{ this.selectedIndex=0; }">
                                    <option value="">请选择课程</option>
                                    <?php foreach ($grades as $v) { ?>
                                        <option value="<?php echo U('index/index',array('name'=>$v['grade_name']));?>" <?php echo ($v['grade_name']==$name?"selected":''); ?>><?php echo ($v["grade_name"]); ?></option>
                                    <?php } ?>
                                </select>
                            </div>
                            <div class="conditions">
                                <!-- <span class="select_like" id="select_grade" style="border: 1px solid rgb(153, 153, 153); color: rgb(51, 51, 51);">请选择年级</span> -->
                                <select name="class" id="" class="select_like">
                                    <option value="">请选择类别</option>
                                    <?php foreach ($kemus as $v) { ?>
                                        <option value="<?php echo ($v['grade_name']); ?>"><?php echo ($v["grade_name"]); ?></option>
                                    <?php } ?>
                                </select>
                            </div>
                            <div class="conditions no_botop">
                                <!-- <a href="<?php echo U('jiazhang/zhao_laoshi',array('newcity'=>$city));?>" class="btn-blue">提交需求</a> -->
                                <input type="hidden" name="grade" value="<?php echo ($name); ?>">
                                <button class="btn-blue">快速请名师</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="hlsIn senior" style="z-index:0;">
            <div>
                <h2 class="titleH2 f">
                    <p>
                        文化语言
                    </p>
                    <p class="flot bn more">
                        <a href="#" class="btn gray mr2" name="shuxue" id="gzshuxue">
                            小学
                        </a>
                        <a href="#" class="btn gray mr2" name="yuwen" id="gzyuwen">
                            初中
                        </a>
                        <a href="#" class="btn gray mr2" name="yingyu" id="gzyingyu">
                            高中
                        </a>
                        <a href="#" class="btn gray mr2" name="wuli" id="gzwuli">
                            语言
                        </a>
                        <a href="<?php echo U('classes/index',array('wh'=>文化语言,'newcity'=>$city));?>" class="btn gray mr2 mor">
                            更多老师
                        </a>
                    </p>
                </h2>
                <!--<h3></h3>-->
            </div>
            <div class="gzCon">
                <div class="ExContainer f" id="gzshuxueCon">
                <!-- 小学 -->
                <?php foreach ($xx as $g) { ?>
                    <div class="jI-o">
                        <a href="<?php echo U('info/laoshi_info',array('id'=>$g['id'],'newcity'=>$city));?>">
                            <div class="lpms-b">
                                <div class="img">
                                    <img src="/lssm<?php echo ($g["face"]); ?>" />
                                </div>
                                <div class="indexlsbot">
                                    <div class="tp1 f">
                                        <span style="font-size:16px;font-weight:bold"><?php echo mb_substr($g['sfz_name'], 0,1,'utf-8').'老师' ?></span>
                                        <p><?php echo ($g["grades"]); echo ($g["subject"]); ?></p>
                                    </div>
                                    <p style="font-size: 12px;margin-top: 10px;margin-bottom: 10px;height: 14px;">
                                        <?php echo (mb_substr(strip_tags(htmlspecialchars_decode($g["jianjie"])),0,15,'utf-8')); ?>...
                                    </p>
                                    <div class="tp1 f">
                                        <span>
                                            <b><?php echo ($g["sk_city"]); ?></b>
                                            <b><?php echo ($g["jiaoling"]); ?>年教龄</b>
                                        </span>
                                        <span>
                                            <strong><?php echo ($g["price"]); ?></strong>元/课时起
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <span class="borders border-top-right">
                            </span>
                            <span class="borders border-right">
                            </span>
                            <span class="borders border-bottom">
                            </span>
                            <span class="borders border-left">
                            </span>
                            <span class="borders border-top-left">
                            </span>
                        </a>
                    </div>
                <?php } ?>
                </div>
                <!-- 初中 -->
                <div class="ExContainer f" id="gzyuwenCon" style="display:none;">
                <?php foreach ($cz as $g) { ?>
                    <div class="jI-o">
                        <a href="<?php echo U('info/laoshi_info',array('id'=>$g['id'],'newcity'=>$city));?>">
                            <div class="lpms-b">
                                <div class="img">
                                    <img src="/lssm<?php echo ($g["face"]); ?>" />
                                </div>
                                <div class="indexlsbot">
                                    <div class="tp1 f">
                                        <span style="font-size:16px;font-weight:bold"><?php echo mb_substr($g['sfz_name'], 0,1,'utf-8').'老师' ?></span>
                                        <p><?php echo ($g["grades"]); echo ($g["subject"]); ?></p>
                                    </div>
                                    <p style="font-size: 12px;margin-top: 10px;margin-bottom: 10px;height: 14px;">
                                        <?php echo (mb_substr(strip_tags(htmlspecialchars_decode($g["jianjie"])),0,15,'utf-8')); ?>
                                    </p>
                                    <div class="tp1 f">
                                        <span>
                                            <b><?php echo ($g["sk_city"]); ?></b>
                                            <b><?php echo ($g["jiaoling"]); ?>年教龄</b>
                                        </span>
                                        <span>
                                            <strong><?php echo ($g["price"]); ?></strong>元/课时起
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <span class="borders border-top-right">
                            </span>
                            <span class="borders border-right">
                            </span>
                            <span class="borders border-bottom">
                            </span>
                            <span class="borders border-left">
                            </span>
                            <span class="borders border-top-left">
                            </span>
                        </a>
                    </div>
                <?php } ?>
                </div>
                <!-- 高中 -->
                <div class="ExContainer f" id="gzyingyuCon" style="display:none;">
                <?php foreach ($gz as $g) { ?>
                    <div class="jI-o">
                        <a href="<?php echo U('info/laoshi_info',array('id'=>$g['id'],'newcity'=>$city));?>">
                            <div class="lpms-b">
                                <div class="img">
                                    <img src="/lssm<?php echo ($g["face"]); ?>" />
                                </div>
                                <div class="indexlsbot">
                                    <div class="tp1 f">
                                        <span style="font-size:16px;font-weight:bold"><?php echo mb_substr($g['sfz_name'], 0,1,'utf-8').'老师' ?></span>
                                        <p><?php echo ($g["grades"]); echo ($g["subject"]); ?></p>
                                    </div>
                                    <p style="font-size: 12px;margin-top: 10px;margin-bottom: 10px;height: 14px;">
                                        <?php echo (mb_substr(strip_tags(htmlspecialchars_decode($g["jianjie"])),0,15,'utf-8')); ?>...
                                    </p>
                                    <div class="tp1 f">
                                        <span>
                                            <b><?php echo ($g["sk_city"]); ?></b>
                                            <b><?php echo ($g["jiaoling"]); ?>年教龄</b>
                                        </span>
                                        <span>
                                            <strong><?php echo ($g["price"]); ?></strong>元/课时起
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <span class="borders border-top-right">
                            </span>
                            <span class="borders border-right">
                            </span>
                            <span class="borders border-bottom">
                            </span>
                            <span class="borders border-left">
                            </span>
                            <span class="borders border-top-left">
                            </span>
                        </a>
                    </div>
                <?php } ?>
                </div>
                <!-- 语言 -->
                <div class="ExContainer f" id="gzwuliCon" style="display:none;">
                <?php foreach ($yy as $g) { ?>
                    <div class="jI-o">
                        <a href="<?php echo U('info/laoshi_info',array('id'=>$g['id'],'newcity'=>$city));?>">
                            <div class="lpms-b">
                                <div class="img">
                                    <img src="/lssm<?php echo ($g["face"]); ?>" />
                                </div>
                                <div class="indexlsbot">
                                    <div class="tp1 f">
                                        <span style="font-size:16px;font-weight:bold"><?php echo mb_substr($g['sfz_name'], 0,1,'utf-8').'老师' ?></span>
                                        <p><?php echo ($g["grades"]); echo ($g["subject"]); ?></p>
                                    </div>
                                    <p style="font-size: 12px;margin-top: 10px;margin-bottom: 10px;height: 14px;">
                                        <?php echo (mb_substr(strip_tags(htmlspecialchars_decode($g["jianjie"])),0,15,'utf-8')); ?>
                                    </p>
                                    <div class="tp1 f">
                                        <span>
                                            <b><?php echo ($g["sk_city"]); ?></b>
                                            <b><?php echo ($g["jiaoling"]); ?>年教龄</b>
                                        </span>
                                        <span>
                                            <strong><?php echo ($g["price"]); ?></strong>元/课时起
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <span class="borders border-top-right"></span>
                            <span class="borders border-right"></span>
                            <span class="borders border-bottom"></span>
                            <span class="borders border-left"></span>
                            <span class="borders border-top-left"></span>
                        </a>
                    </div>
                <?php } ?>
                </div>
            </div>
        </div>
        <div class="hlsIn junior">
            <div>
                <h2 class="titleH2 f">
                    <p>
                        艺术兴趣
                    </p>
                    <p class="flot bn more">
                        <a href="#" class="btn gray mr2" name="shuxue" id="czshuxue">
                            乐器
                        </a>
                        <a href="#" class="btn gray mr2" name="yuwen" id="czyuwen">
                            声乐
                        </a>
                        <a href="#" class="btn gray mr2" name="yingyu" id="czyingyu">
                            舞蹈
                        </a>
                        <a href="#" class="btn gray mr2" name="wuli" id="czwuli">
                            书法
                        </a>
                        <a href="<?php echo U('classes/index',array('wh'=>艺术兴趣,'newcity'=>$city));?>" class="btn gray mr2 mor">
                            更多老师
                        </a>
                    </p>
                </h2>
            </div>
            <div class="czCon">
                <!-- 乐器 -->
                <div class="ExContainer f" id="czshuxueCon">
                <?php foreach ($yq as $g) { ?>
                    <div class="jI-o">
                        <a href="<?php echo U('info/laoshi_info',array('id'=>$g['id'],'newcity'=>$city));?>">
                            <div class="lpms-b">
                                <div class="img">
                                    <img src="/lssm<?php echo ($g["face"]); ?>" />
                                </div>
                                <div class="indexlsbot">
                                    <div class="tp1 f">
                                        <span style="font-size:16px;font-weight:bold"><?php echo mb_substr($g['sfz_name'], 0,1,'utf-8').'老师' ?></span>
                                        <p><?php echo ($g["grades"]); echo ($g["subject"]); ?></p>
                                    </div>
                                    <p style="font-size: 12px;margin-top: 10px;margin-bottom: 10px;height: 14px;">
                                        <?php echo (mb_substr(strip_tags(htmlspecialchars_decode($g["jianjie"])),0,15,'utf-8')); ?>
                                    </p>
                                    <div class="tp1 f">
                                        <span>
                                            <b><?php echo ($g["sk_city"]); ?></b>
                                            <b><?php echo ($g["jiaoling"]); ?>年教龄</b>
                                        </span>
                                        <span>
                                            <strong><?php echo ($g["price"]); ?></strong>元/课时起
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <span class="borders border-top-right">
                            </span>
                            <span class="borders border-right">
                            </span>
                            <span class="borders border-bottom">
                            </span>
                            <span class="borders border-left">
                            </span>
                            <span class="borders border-top-left">
                            </span>
                        </a>
                    </div>
                <?php } ?>
                </div>
                <!-- 声乐 -->
                <div class="ExContainer f" id="czyuwenCon" style="display:none;">
                <?php foreach ($sy as $g) { ?>
                    <div class="jI-o">
                        <a href="<?php echo U('info/laoshi_info',array('id'=>$g['id'],'newcity'=>$city));?>">
                            <div class="lpms-b">
                                <div class="img">
                                    <img src="/lssm<?php echo ($g["face"]); ?>" />
                                </div>
                                <div class="indexlsbot">
                                    <div class="tp1 f">
                                        <span style="font-size:16px;font-weight:bold"><?php echo mb_substr($g['sfz_name'], 0,1,'utf-8').'老师' ?></span>
                                        <p><?php echo ($g["grades"]); echo ($g["subject"]); ?></p>
                                    </div>
                                    <p style="font-size: 12px;margin-top: 10px;margin-bottom: 10px;height: 14px;">
                                        <?php echo (mb_substr(strip_tags(htmlspecialchars_decode($g["jianjie"])),0,15,'utf-8')); ?>
                                    </p>
                                    <div class="tp1 f">
                                        <span>
                                            <b><?php echo ($g["sk_city"]); ?></b>
                                            <b><?php echo ($g["jiaoling"]); ?>年教龄</b>
                                        </span>
                                        <span>
                                            <strong><?php echo ($g["price"]); ?></strong>元/课时起
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <span class="borders border-top-right">
                            </span>
                            <span class="borders border-right">
                            </span>
                            <span class="borders border-bottom">
                            </span>
                            <span class="borders border-left">
                            </span>
                            <span class="borders border-top-left">
                            </span>
                        </a>
                    </div>
                <?php } ?>
                </div>
                <!-- 舞蹈 -->
                <div class="ExContainer f" id="czyingyuCon" style="display:none;">
                <?php foreach ($wd as $g) { ?>
                    <div class="jI-o">
                        <a href="<?php echo U('info/laoshi_info',array('id'=>$g['id'],'newcity'=>$city));?>">
                            <div class="lpms-b">
                                <div class="img">
                                    <img src="/lssm<?php echo ($g["face"]); ?>" />
                                </div>
                                <div class="indexlsbot">
                                    <div class="tp1 f">
                                        <span style="font-size:16px;font-weight:bold"><?php echo mb_substr($g['sfz_name'], 0,1,'utf-8').'老师' ?></span>
                                        <p><?php echo ($g["grades"]); echo ($g["subject"]); ?></p>
                                    </div>
                                    <p style="font-size: 12px;margin-top: 10px;margin-bottom: 10px;height: 14px;">
                                        <?php echo (mb_substr(strip_tags(htmlspecialchars_decode($g["jianjie"])),0,15,'utf-8')); ?>
                                    </p>
                                    <div class="tp1 f">
                                        <span>
                                            <b><?php echo ($g["sk_city"]); ?></b>
                                            <b><?php echo ($g["jiaoling"]); ?>年教龄</b>
                                        </span>
                                        <span>
                                            <strong><?php echo ($g["price"]); ?></strong>元/课时起
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <span class="borders border-top-right">
                            </span>
                            <span class="borders border-right">
                            </span>
                            <span class="borders border-bottom">
                            </span>
                            <span class="borders border-left">
                            </span>
                            <span class="borders border-top-left">
                            </span>
                        </a>
                    </div>
                <?php } ?>
                </div>
                <!-- 书法 -->
                <div class="ExContainer f" id="czwuliCon" style="display:none;">
                <?php foreach ($sf as $g) { ?>
                    <div class="jI-o">
                        <a href="<?php echo U('info/laoshi_info',array('id'=>$g['id'],'newcity'=>$city));?>">
                            <div class="lpms-b">
                                <div class="img">
                                    <img src="/lssm<?php echo ($g["face"]); ?>" />
                                </div>
                                <div class="indexlsbot">
                                    <div class="tp1 f">
                                        <span style="font-size:16px;font-weight:bold"><?php echo mb_substr($g['sfz_name'], 0,1,'utf-8').'老师' ?></span>
                                        <p><?php echo ($g["grades"]); echo ($g["subject"]); ?></p>
                                    </div>
                                    <p style="font-size: 12px;margin-top: 10px;margin-bottom: 10px;height: 14px;">
                                        <?php echo (mb_substr(strip_tags(htmlspecialchars_decode($g["jianjie"])),0,15,'utf-8')); ?>
                                    </p>
                                    <div class="tp1 f">
                                        <span>
                                            <b><?php echo ($g["sk_city"]); ?></b>
                                            <b><?php echo ($g["jiaoling"]); ?>年教龄</b>
                                        </span>
                                        <span>
                                            <strong><?php echo ($g["price"]); ?></strong>元/课时起
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <span class="borders border-top-right">
                            </span>
                            <span class="borders border-right">
                            </span>
                            <span class="borders border-bottom">
                            </span>
                            <span class="borders border-left">
                            </span>
                            <span class="borders border-top-left">
                            </span>
                        </a>
                    </div>
                <?php } ?>
                </div>
            </div>
        </div>
    </div>
    <style type="text/css" media="screen">
        .last5{ width:1200px; margin:0 auto; padding:1.827em 0; } .last5 > p{
        width:24.76%; display: inline-block; height: 60px; position: relative;
        float:left; padding-left: 2.4em; } .last5 > p:before{ content:'\20'; width:
        1px; height: 46px; background-color: #dcdcdc; display: inline-block; position:
        absolute; left:0; top:7px; } .last5 p:first-child::before{ content:none;
        } .last5 > p i{ background:url(/lssm/Public/home/images/last5.png) no-repeat
        center 5px; width:60px; height:60px; float:left; margin:0 10px 0 20px;
        } .last5 > p i.e2{ background-position: center -74px; } .last5 > p i.e3{
        background-position: center -152px; } .last5 > p i.e4{ background-position:
        center -238px; } .last5 > p span{ color: #999; font-size: 14px; display:
        inline-block; text-align: top; } .last5 > p span b{ color: #333; font-size:
        18px; display: block; padding:5px 0;}
    </style>
</main>
<div class="contrary">
    <div class="containera">
        <div class="title-1">
            <!-- <span>PLATFORM FEATURES</span>
            -->
            <!-- <h2 class="text-center">平台特色</h2> -->
        </div>
        <div class="row contai-1">
            <div class="kuangkuang">
                <div style="border: 1px solid rgb(232, 232, 232);" class="penc">
                    <i class="pencil">
                    </i>
                    <button type="button" class="btn btn-primary1 btn-block">
                        老师认证
                    </button>
                    <p>
                        平台严格审核认证老师资质，会员可放心请家教
                    </p>
                </div>
            </div>
            <div class="kuangkuang">
                <div style="border: 1px solid rgb(232, 232, 232);" class="devc">
                    <i class="device">
                    </i>
                    <button type="button" class="btn btn-primary5 btn-block">
                        线上预约
                    </button>
                    <p>
                        学员在平台上预约老师上课，老师线下1对1授课
                    </p>
                </div>
            </div>
            <div class="kuangkuang">
                <div style="border: 1px solid rgb(232, 232, 232);" class="cak">
                    <i class="cake">
                    </i>
                    <button type="button" class="btn btn-primary2 btn-block">
                        免费试听
                    </button>
                    <p>
                        通过平台预约试课一课时，试课满意再签约付款。
                    </p>
                </div>
            </div>
            <div class="kuangkuang">
                <div style="border: 1px solid rgb(232, 232, 232);" class="dir">
                    <i class="dire">
                    </i>
                    <button type="button" class="btn btn-primary3 btn-block">
                        资金保障
                    </button>
                    <p>
                        平台暂时托管课时费，会员对授课满意再确认支付
                    </p>
                </div>
            </div>
            <div class="kuangkuang">
                <div style="border: 1px solid rgb(232, 232, 232);" class="aiqiutui">
                    <i class="aiqiutui">
                    </i>
                    <button type="button" class="btn btn-primary4 btn-block">
                        随时退课
                    </button>
                    <p>
                        对授课不满意，可随时要求更换老师或退课退款
                    </p>
                </div>
            </div>
        </div>
    </div>
    <script>
        $('.contrary .contai-1 div').hover(

        function() {

            // $(this).children('i').addClass("transform");
            $(this).children('div').css('border', '1px solid #ea5925')

        },

        function() {

            // $(this).children('i').removeClass("transform");
            $(this).children('div').css('border', '1px solid #e8e8e8')

        }

        )
    </script>
</div>
<div class="enter_content enter_content_last">
    <h3 class="enter_tit">
        平台流程
    </h3>
    <div class="enter_cont">
        <ul class="enter_step_list cf">
            <li class="enter_step_li">
                <div class="enter_step_li_wrap">
                    <i class="enter_step_ico enter_step_ico1">
                    </i>
                    <h4 class="enter_step_h">
                        搜索老师
                    </h4>
                    <p>
                        整合本地优秀老师资源
                        <br />
                        学员可自由选择
                    </p>
                </div>
                <i class="enter_step_arrow">
                </i>
            </li>
            <li class="enter_step_li">
                <div class="enter_step_li_wrap">
                    <i class="enter_step_ico enter_step_ico2">
                    </i>
                    <h4 class="enter_step_h">
                        试听预约
                    </h4>
                    <p>
                        线上预约老师
                        <br />
                        线下试听满意后再购课
                    </p>
                </div>
                <i class="enter_step_arrow">
                </i>
            </li>
            <li class="enter_step_li">
                <div class="enter_step_li_wrap">
                    <i class="enter_step_ico enter_step_ico3">
                    </i>
                    <h4 class="enter_step_h">
                        线下购课
                    </h4>
                    <p>
                        协商付课时费
                        <br />
                        平台支持随时退课
                    </p>
                </div>
                <i class="enter_step_arrow">
                </i>
            </li>
            <li class="enter_step_li">
                <div class="enter_step_li_wrap">
                    <i class="enter_step_ico enter_step_ico4">
                    </i>
                    <h4 class="enter_step_h">
                        线下授课
                    </h4>
                    <p>
                        双方协商上课地点
                        <br />
                        线下1对1授课
                    </p>
                </div>
                <i class="enter_step_arrow">
                </i>
            </li>
            <li class="enter_step_li last">
                <div class="enter_step_li_wrap">
                    <i class="enter_step_ico enter_step_ico5">
                    </i>
                    <h4 class="enter_step_h">
                        续买课时
                    </h4>
                    <p>
                        学员对老师授课满意
                        <br />
                        可优先续买其课程
                    </p>
                </div>
            </li>
        </ul>
    </div>
</div>

<!-- 尾部 -->
<footer>
    <div class="footer">
        <div class="layout clear-fx">
            <div class="grid-x">
                <h3><a href="<?php echo U('notice/news_index',array('newcity'=>$city));?>" target="_blank">新闻公告</a></h3>
                <ul>
                    <li><a href="<?php echo U('notice/news_index',array('newcity'=>$city));?>" target="_blank">网站公告</a></li>
                    <li><a href="<?php echo U('notice/news_Report',array('newcity'=>$city));?>" target="_blank">新闻报道</a></li>
                </ul>
            </div>
            <div class="grid-x">
                <h3><a href="<?php echo U('notice/jz_help',array('newcity'=>$city));?>" target="_blank">学员帮助</a></h3>
                <ul>
                    <li><a href="<?php echo U('notice/jz_help',array('newcity'=>$city));?>" target="_blank">师资如何保障</a></li>
                    <li><a href="<?php echo U('notice/jz_pay',array('newcity'=>$city));?>" target="_blank">常见支付问题</a></li>
                </ul>
            </div>
            <div class="grid-x">
                <h3><a href="<?php echo U('notice/ls_help',array('newcity'=>$city));?>" target="_blank">老师帮助</a></h3>
                <ul>
                    <li><a href="<?php echo U('notice/ls_help',array('newcity'=>$city));?>" target="_blank">约课授课流程</a></li>
                    <li><a href="<?php echo U('notice/ls_baozhan',array('newcity'=>$city));?>" target="_blank">课时费保障</a></li>
                </ul>
            </div>
            <div class="grid-x">
                <h3><a href="<?php echo U('notice/lianxi_my',array('newcity'=>$city));?>" target="_blank">关注我们</a></h3>
                <ul>
                    <li><a href="<?php echo U('notice/lianxi_my',array('newcity'=>$city));?>" target="_blank">联系我们</a></li>
                    <li><a href="<?php echo U('notice/lianxi_yijian',array('newcity'=>$city));?>" target="_blank">意见反馈</a></li>
                </ul>
            </div>
            <div class="grid-r">
                <a href="javascript:;">
                    <p>020-39936776</p>周一至周日&nbsp;&nbsp;09:30~21:00
                </a>
            </div>
            <div class="grid-a">
                <a href="javascript:;">关注老师上门公众号</a>
            </div>
        </div>
        <div class="copyright">
            Copyright &copy; 2015-2019 laoshism.com
            <span>|</span>
            版权所有：老师上门
            <span>|</span>
            <a href="http://www.miitbeian.gov.cn" style="color: #c5c5c5;" target="_bank">网站备案号：粤ICP备16129133号</a>
        </div>
    </div>
</footer>


<script type="text/javascript" src="/lssm/Public/home/js/source.js"></script>
<!-- homePage END-->
<script type="text/javascript" src="/lssm/Public/home/js/Jbannerm.js"></script>
<script type="text/javascript" src="/lssm/Public/home/js/index2.9.js"></script>
<style>
    .kuangkuang{ padding: 9px 8px !important; }
</style>
<script>
    // $(function(){
    //  var lsh = $('.lpms-b .img img').width();
    //  alert(lsh);
    //  $('.lpms-b .img img').height(lsh);
    // });
    $('#gzshuxue').click(function() {
        $('#gzshuxueCon').show().siblings().hide();
    });
    $('#gzyuwen').click(function() {
        $('#gzyuwenCon').show().siblings().hide();
    });
    $('#gzyingyu').click(function() {
        $('#gzyingyuCon').show().siblings().hide();
    });
    $('#gzwuli').click(function() {
        $('#gzwuliCon').show().siblings().hide();
    });
    $('#gzhuaxue').click(function() {
        $('#gzhuaxueCon').show().siblings().hide();
    });

    $('#czshuxue').click(function() {
        $('#czshuxueCon').show().siblings().hide();
    });
    $('#czyuwen').click(function() {
        $('#czyuwenCon').show().siblings().hide();
    });
    $('#czyingyu').click(function() {
        $('#czyingyuCon').show().siblings().hide();
    });
    $('#czwuli').click(function() {
        $('#czwuliCon').show().siblings().hide();
    });
    $('#czhuaxue').click(function() {
        $('#czhuaxueCon').show().siblings().hide();
    });

    $('#xxshuxue').click(function() {
        $('#xxshuxueCon').show().siblings().hide();
    });
    $('#xxyuwen').click(function() {
        $('#xxyuwenCon').show().siblings().hide();
    });
    $('#xxyingyu').click(function() {
        $('#xxyingyuCon').show().siblings().hide();
    });

    $('#ysyinyue').click(function() {
        $('#ysyinyueCon').show().siblings().hide();
    });
    $('#ysmeishu').click(function() {
        $('#ysmeishuCon').show().siblings().hide();
    });
    $('#addSiteFavorite').click(function() {
        alert('您的浏览器不支持本操作，请按Ctrl+D将本网页加入收藏！');
    });
</script>
 
</body>

</html>